
/**		
 * 
 *	components.ButtonComponent
 *	
 *	@version 1.00 | May 28, 2010
 *	@author Fraser Hobbs
 *  
 **/
 
package mx.pacu.components 
{

	/**
	 * @author Fraser Hobbs
	 */
	public class ButtonComponent extends Component implements IComponent
	{
		private var _label:LabelComponent = new LabelComponent();
		
		public function ButtonComponent()
		{
			super();
			
			addChild(_label);
			_label.text = "xxxxxxxxxxxxxxxxxxxxxx";
		}
		
		override public function draw() : void
		{
			super.draw();
		}

		override public function defaultStyles() : void
		{
			styles.width = 300;
			styles.height = 25;
			styles.backgroundColor = 0xFFFF00;
		}
	}
}
